package com.tm.service;

import com.tm.model.Dept;
import com.tm.model.Permission;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @author huangp
 * @create 2021-09-12 11:25
 */
public interface PermissionService {

    List<Map<String,Object>> queryPermission();

    void addPermission(Permission permission);

    Permission queryPermissionById(Integer id);

    void exportFile(HttpServletResponse response);

    void uploadFile(MultipartFile dataFile);
}
